package org.william.shiro.service.impl;

import org.springframework.stereotype.Service;
import org.william.shiro.entity.SysUser;
import org.william.shiro.mapper.UserMapper;
import org.william.shiro.service.ISysUserService;

import javax.annotation.Resource;

@Service
public class SysUserServiceImpl implements ISysUserService {
    @Resource
    private UserMapper userMapper;

    public SysUser getUserByName(String username){
        return userMapper.getUserByName(username);
    }
}
